package com.powerrich.dubbo.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.powerrich.dubbo.pojo.UserPo;
import com.powerrich.dubbo.service.UserService;

/**
 * Created by Jaycekon on 2017/9/19.
 */
@Service
public class UserServiceImpl implements UserService {

    @Override
    public UserPo saveUser(UserPo userPo) {
        userPo.setId(3);
        System.out.println(userPo.toString());
        return userPo;
    }
}
